import request from '@/utils/request'
export function fetchIndex (query) {
  return request({
    url: '/api/ichexpo/homepage',
    method: 'get',
    params: query
  })
}

export function fetchOne (id) {
  return request({
    url: '/api/ichexpo/detail',
    method: 'get',
    params: {
      id: id
    }
  })
}

export function fetchList (cid) {
  return request({
    url: '/api/ichexpo/more',
    method: 'get',
    params: {
      cid
    }
  })
}
